<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页顶</title>
    <link rel="stylesheet" type="text/css" href="../CSS/Header.css">
    <link rel="stylesheet" type="text/css" href="../CSS/LRCSS.css">
    <script type="text/javascript" src="../JS/LGRE.js" defer="defer"></script>
</head>
<body>
<div class="header">
    <div class="header_1">
        <ul id="header_1_1">
            <li onclick="window.location='../index.jsp'">首页</li>
            <li onclick="window.location='#'">新闻分类</li>
            <li onclick="window.location='#'">全部新闻</li>
        </ul>
        <ul id="header_1_2">
            <li class="unLogin" onclick="CBRegister()"><span>注册</span></li>
            <li class="unLogin" onclick="CBLogin()"><span>登录</span></li>
            <li class="Logining" style="display: none" onclick="LGExit()"><span>退出</span></li>
            <li class="Logining" style="display: none"><span onclick="window.location='../pages/User.html'">个人信息</span></li>
            <li class="AdminLogin" style="display: none"><span onclick="window.location='../pages/User.html'">后台管理</span></li>
        </ul>
    </div>
    <div class="header_2">
        <span style="float: left;font-family: 楷体" onclick="window.location='../index.jsp'"><img src="../IMGS/牛.png" height="40px" alt=""/>牛马新闻中心<img src="../IMGS/马.png" height="40px"/></span>
        <div id="H-right">
            <form action="../pages/serach-resule.html" method="get">
                <button style="float: right" type="submit" id="sub">搜索</button>
                <input style="float: right" id="check" type="text" placeholder="请输入您要搜索的内容..." value="">
                <script>
                    document.getElementById("sub").onclick=function () {
                        var check = document.getElementById("check").value;
                        localStorage.setItem("check",check);
                    }

                </script>
            </form>
        </div>
    </div>
</div>
</body>
</html>